package proxy.cglib;

import net.sf.cglib.proxy.MethodProxy;

import javax.security.auth.callback.Callback;

/**
 * @Author quan
 * @Description TODO
 * @Date 2023/7/28 16:12
 */
public interface MethodInterceptor extends Callback {
    // 拦截被代理类中的⽅法
    public Object intercept(Object obj,
                            java.lang.reflect.Method method,
                            Object[] args, MethodProxy proxy) throws Throwable;
}
